package com.blood.modules.pregnancy.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 孕图表集信息
 *
 * @author daoren
 * @date 2022-11-25 09:00:10
 */
@Data
@ApiModel(value = "孕图表集信息", description = "孕图表集信息")
public class PregnancyChartInfoResp {
    @ApiModelProperty("坐标轴数据")
    private List<Date> XData;
    @ApiModelProperty("宫颈扩张线")
    private List<PregnancyChartValueResp> dilatancyList;
    @ApiModelProperty("抬头下降线")
    private List<PregnancyChartValueResp> declineList;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("潜伏期开始")
    private Date lurkExtendStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("潜伏期结束")
    private Date lurkExtendEnd;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("第二产程开始")
    private Date prolongedStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("第二产程结束")
    private Date prolongedEnd;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("3CM线")
    private Date three;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("5CM线")
    private Date five;

    @ApiModelProperty("警戒线开始")
    private PregnancyChartValueResp earlyStart = new PregnancyChartValueResp();
    @ApiModelProperty("警戒线结束")
    private PregnancyChartValueResp earlyEnd = new PregnancyChartValueResp();
    @ApiModelProperty("异常线开始")
    private PregnancyChartValueResp riskStart = new PregnancyChartValueResp();
    @ApiModelProperty("异常线结束")
    private PregnancyChartValueResp riskEnd = new PregnancyChartValueResp();


}
